﻿using System;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using FwProject.Authorization.Users;
namespace FwProject.Core.AppVersion
{
    [Table("AppVersionManger")]
    public class AppVersionManger : FullAuditedEntity<Guid>
    {
        /// <summary>
        /// App名称
        /// </summary>
        [Required]
        public string AppName { get; set; }
        /// <summary>
        /// App版本
        /// </summary>
        [Required]
        public string AppVersion { get; set; }

        public int AppCode { get; set; }
        /// <summary>
        /// App地址
        /// </summary>
        [Required]
        public string AppDownLoad { get; set; }
        /// <summary>
        /// App类型
        /// </summary>
        [Required]
        public AppTypeEnum AppType { get; set; }


    }
    public enum AppTypeEnum{

        ios=0,
        android=1
    }
}
